<?php
class Subheader extends TdPage {	
	
	public $loginform;
	public $show_menubar;
  
	function __construct($template) {
	  	parent::__construct("", $template);  

	  	$this->doInit();
	}
  
  
	  function doInit() { 	  	 
	  	
	  	$this->show_menubar = false;
	  	
	  	$pages = array('home', 'bookshelf');
	  	if (array_search($this->classname, $pages) !== false) {
	  		$this->show_menubar = true;
	  	}
	  	
	  }
  
  
}
?>